﻿@using FCZLM.Core.Models;
@using Microsoft.AspNetCore.Http
@model Users;
@{
    var address = ViewBag.Address;
    var product = ViewBag.Product;
    var prourl = ViewBag.ProUrl;
}
<div class="pnt">
   <div class="pntLeft">
    <h2 class="Title">购物车
    </h2>
   </div><!--pntLeft/-->
   <div class="pntRight">
    <ul class="nav">
     <li><a href="/home/index">商城首页</a></li>
     <li><a href="/product/index">商品中心</a></li>
     <li><a href="/news/index">新闻中心</a></li>
 <li>  @if(@Context.Session.GetString(key:"user")==null){
							 <a href="/login/index">用户中心</a>
						}else{
							
							 <a href="/user/index">用户中心</a>
							
						} </li>
     <li><a href="/contact/index">联系我们</a></li>
     <div class="phone">TEL：021-12345678</div>
    </ul><!--nav/-->
   </div><!--pntRight/-->
   <div class="clears"></div>
  </div><!--pnt/-->
   <div class="cont">
   <div class="carImg"><img src="~/images/car2.jpg" width="961" height="27" /></div>
   <h4 class="orderTitle">收货信息</h4>
   <table class="ord">
    <tr>
     <td width="30%">
      @Model.UserName
     </td>
     <td width="50%">
     @Model.Phone,@address.Address1
     </td>
     <td>
      <span class="green upd">[修改]</span> 
     </td>
    </tr>
   </table><!--ord/-->
   <div class="address">
    
    
    <div class="addList">
     <label><span class="red">* </span>详细地址:</label>
     <input type="text" />
    </div><!--addList-->
   
    <div class="addList">
     <label><span class="red">* </span>收件人:</label>
     <input type="text" />
    </div><!--addList-->
    <div class="addList">
     <label><span class="red">* </span>手机号码:</label>
     <input type="text" /> 
    </div><!--addList--> 
    <div class="addList2">
     <input type="image" src="~/images/queren.jpg" width="100" height="32" />
    </div><!--addList2/-->
   </div><!--address/-->
   <h4 class="orderTitle">支付方式</h4>
   <ul class="zhiList">
   
   <li>支付宝-余额支付</li>
   <div class="clears"></div>
  </ul><!--zhiList/-->
 
  <div class="zhifufangshi" style="height:100px;" >
  
    <input type="radio" /><img src="~/images/zhifubao.jpg" />
  </div><!--zhzhifufangshii/-->
   <h4 class="orderTitle">购物清单</h4>
  <table class="orderList">
    <tr>
     <th width="20"></th>
     <th width="430">商品</th>
     <th width="135">单价</th>
     <th width="135">数量</th>
     <th width="135">金额</th>
     <th></th>
    </tr>
  
    <tr>
     <td></td>
     <td>
      <dl>
       <dt><img src="@prourl.PicUrl" width="85" height="85" /></dt>
       <dd>@product.Name<br /></dd>
       <div class="clears"></div>
      </dl>
     </td>
     <td><strong class="red">￥@product.Price</strong></td>
     <td>
     <div class="jia_jian">
    
      <span>1</span>
     
     </div>
     </td>
     <td><strong class="red">￥@product.Price</strong></td>
     <td></td>
    </tr>

    
   </table><!--orderList/-->
  
   <table class="zongjia" align="right">
    
    <tr>
     <td width="120" align="left">合计：</td>
     <td><strong class="red"><span id="zongji" style="font-size:45px">@product.Price</span>元 </strong></td>
    </tr>
    <tr>
     <td colspan="2" style="height:50px;">
      <a href="/zhifu/index/@product.Id"><img src="~/images/tijao.png" width="142" height="32" /></a>
     </td>
    </tr>
   </table><!--zongjia/-->
   <div class="clears"></div>
  </div><!--cont/-->
   <script>
        
        //var jsonData = JSON.parse(window.name) //将window.name转化为json对象
        //document.getElementById("price").innerHTML=jsonData.zongjia
      

      
    </script>